commiting changes to the script to apply it to more than one form