FIX #405: Script replacements doesn't work with jdeb packaging
Merge pull request #406 from kardapoltsev/wip/jdeb-script-replacements

FIX #405: Script replacements doesn't work with jdeb packaging