Added status check url and data.  Improved internal logic