I have made these changes and cannot get Flynax to work with php5.4