fix the OSGi shell script