compress()/decompress(): 'config' variable is now used instead of using function parameters