prefer to use rails agents config if it exists