this is a script for pwd