all blog code merged into single file