fixing config, adding sources endpoint