modified wp-setup script