Write steps before program is processed