added function call to add person given a directory path