broke out snippet path and settings func