Added proper directory output to example