Put $ at end of program if it's missing