add setting to disable auto compiling