add logic for checking for production status for url