reorder commands to fit directory expectations