fixes #19, allows  flag to be  in settings