Handle sandbox from cmd or as submodule.