test mode for manage.sh