replaced occurences of remove_tree with rmtree