Oh I'm sorry. The ENDIF is actually in the script, I made an error when I pasted it into the code.

The script does not map any printers from any of the IP ranges described. I apologize for being vague I thought I would be making a simple mistake someone would notice right away.

Thanks though.