changed several php files