Makes sandbox work for default executor

This fixes #288