Fix bytecode script
[CAPEDWARF-160]; handle redirects.