Generalized the script and renamed to represent the change