moved ga script to end