added advancedsettings and sources