added root req for script
added magic to maploader