Use script directory instead of working directory