moved commands through files