Removing from scripts relative paths