Remove absolute paths from script.