move applyWrapper to the print flow
move linkSheet into its own function
modularizing actions into separate functions