fixed rip_loop task
changed time caculations from minutes to hour