Modified settings file to fix template directory problem