remove mistakenly added code
got it working
get_directory defaults to current, also added purpose:
added purpose: