added postinstall script for runtime
fixed postinst scripts
Merge pull request #4 from zelgerj/master

added postinstall script for runtime