Add align function
Add if-then-else snippet
Modify some snippets