started to use if/else to determine current uri; will be used to customize output