added a global profile directory option