Remove absolute path for scripts.