Updated runOsgi script