added script for Glass