added a option to skip generation when a config-file is present in pagoda dir.