removed need for quotes in add
added count command
allow Q_TASKS_DIR env variable to override location