Updated code to latest version of pages from dropbox.