adding the scripts from previous versions