Added gunzip and improved multi handling