adding support for page and screen

cc @amillet89 for review!