reorganize commands in teminal-mac post