Changed outdated cfg for loading yml and active record