py3 update
set default value for fails and tries so that processing can continue after keyboard interrupt