Finished glm script