work on test prepare script, make the whole thing optional