changed scripts for cloud 9