Added scripting ability to make it easier to convert resources