added custom frontpage support