SQL Scripts and copy across .php files