multiple changes

- added installed winrar support
- added installed 7-zip support.
- added check for config file existance
- added some notes (comments) to the script
- cleanup code a little