Adding sources and instances