1. add snippet directory