adds stat and debug config for linux