Corrected calling both cdn and system core file

Signed-off-by: ben charlton <benjicharlton@gmail.com>