switched to using put and sed for configs