fixes envar & url.
reenables orphan deletion.
activates link.
Merge pull request #92 from birkin/master

updates & enables orphan handling.