added ConfigParser and sane defaults