Beginning to convert my Smelter script.