Config fixes and attachments directory
Gitignore attachments directory