added comments to cmd and check if swamp already running before running it