[bug979651] - Moved inline script into separate file

[bug979651] - Small path fix