error files updated when changed template

edited config so it connects to local and remote databases