changing paths in scripts