V1.2 fixes for different configs

fix ini configuration when no additional ini directory is specified.
Add sed commands to directly place appname and license key. Stylization.