change write_config to write_include, write_config doesn't work on ubuntu 12.04