Fixed tags variables

Tags should be lists not dicts
For some reason
```
tags = {'whatever'}
```
works on python2.7 but not 2.6. It should be
```
tags = ['whatever']
```