added action to check for old URI formats and redirect accordingly;