Made shell/main.sh work again