Add arguments support for mappath