Edited GA script