change configuration and add snippets directory