Made subdirectories generic. Required a JSON change to one API call.