added shebang
added download support for foldertree magic thingies