added condition for using Processing as internet source