Implemented script sandboxing