Fixed #2. Added path handling.