Split script phases; Setup console for plain logging