Added writing schema to config