Update shell.lua

This should make shell.setPath work again.