added apphost setconfig call