Update main.php to work with php 5.3.26
Update the workflow to work with 5.3.26