major updation in code, finds src also, resolves error related to url extraction, set defaults