Various changes

- Add some logging
- Decompress through shell to prevent memory problem