Testing the script to automate page publishing