Adjust scripts to download and uncompress functions. Fix functions.
Merge pull request #224 from Alexpux/develop

Adjust scripts to download and uncompress functions. Fix functions.