Reference script file in xml. Thanks @bakual.