[bug973120] - Moved inline script into separate file