Minor bug is fixed in s to z conversion script