updated ga script to support new features