Adding bzip2 and fixing perl