Fixing run script to know about its directory