Use current directory if directory wasn't specified