fixed install/autodeploy scripts