Added attribute name error checking and wired the models to the production server