Rewriting sandbox spec