php and sh scripts to check if site up