Getting Name Error - see if this fixes