collapse three-layer deploy->onServer->setup script into two layers