Added ex 4-4 commands to main program