Made the getpage take cli args