zip and compile scripts