Multiple changes

- Better smarty matchtag matching
- Simple mapping for executing bash files