final script with log file
added script to monitor server