Fixing install and init scripts