finished modify functionality

also changed named of script to something more appropriate