Set all of the proper variables.