added support for mainpage module