Move getAnimationScript to include, solves auth issue with HTTP request