MAXScript Extensions for mental ray