Added writting sketches to server when compiling