-changed R10 to R13
-updated command to only include -oimage and -omultipass if RENDERDIR is defined