added printing output for googledocs