Reduce repl startup time and accept sandbox init object