Bugfix to run the jellyfish commands and added rules for cleaning