Updated print example script