Added logic for --setup to modcooker script