Solving configuration issue

Instead of having defaults inside of the script, use environmental
variables at the time of installation to write wrapper script.  That
way, the mdf script is always called with the vars it needs, and this
can be easily configured by the user