CHanged the main function to record forever for 1 minute every 15
minutes