Mods to work with php server and