new function to write design files