fixing path for script calls... note this is dangerous if caller assumes no path changes att all