corrected ga script