Support flag for building with different configs
Work on docs