Add --trials option and retire environment vars