Added -f/--fail option to set random fail check time