Added error log when zipping, removed useless things