initial setup of print flow