management commands for deployment, fixes