replacing sys.exits with Falses