added resources to tree; fixed original authorization script