rename a script (need to make this whole thing more logical)