changed to php, not working on the server