Changes to -w

Detects if user is running IN the `pwd` or just outside of it and
adjusts accordingly.