added secondary directory for source input