moved commands into separate file