Modify sceneAddCmd, sceneRemoveCmd to more general setup and destroy hooks