- user can input the monitoring frequency

-Changed the script so that the user can input the monitoring frequency