Allow mongodb to be command line falg