Working on porting splash checking into main script, ensure it is running and get it to change the hc url depending on the presence of a splash page