Adds dictionary and start of program.