Minor updates to classglcm script