Applying new shell code to index and pe.js too.