simplified shell.js for redirect io