Move the conversion functions in stairsplus.lua