Changed inter-loop sleep timer to 5 seconds instead of 15 for the stage456 loop