More bugfixes

* deactivates and activates work now, without variable substitution.
* fixed a bug w/ directories and activations