Moving the custom code to a rescue block

The stream the commands method wasn't done properly because I am a bad dog.