Improved the newShell method