now, what you really want is actually a "restriction" setup?
a script that does forced mapping according to that file?

if so, think you shouldn't use this script base at all as it does not need to be this complex.

if you want something else, could you explain little more...
_________________________
!

download KiXnet