Updating paths in script