defined order for deploy.sh to minimize commits
fix robot detection and handling