Convert back to script version