Changed global variables and double quotes