Wraps a script in a strict environment