adds default flag, so users can set it from outside the file