fix some trouble with renaming scripts