moving google script to head