Add possibility for defining maproot