tweaked php files