replaced duplicate code

now uses decompress script