glm24 sub scripts for amans project