started fixing some bugs
hook can now show directory listing