add commands to header