Added logic.
Forgot a file.
Merge branch 'master' of https://github.com/bezi/texdown