Fix path handling
Update .gitignore