changed scripts to version 3

changed scripts to version 3