Allow fig.erb files, and option to not create discovery files.