Add silent mode and conveniant option for waiting between two loops.