Updated print script