added support for running embedded simutation jar