Changed capital variable names (still constants in ruby) to really be global variables