update into function to cd into when single dir entered (not using applescript)
change console.log to log.error
log.error for replace command
prints the tags out. Does not currently show the count of how many files have been tagged with each tag, later
update, log.error not console
removed a console.log
remove testing command
add some comments