pass in a target dir argument instead of hardcoding it in script