add tgz and tbz support