added custompage support & many style changes