added support for local vs central file repositories and flex profile names