script now checks for existing sources to avoid repeated downloads in subsequent executions