updated to put all commands in one place.