added z-range as a parameter in the file