Changed GM script a bit