dding more files and more php changes