HSAG script