Updated enhanced gem with sandbox mode.