Updating to allow for srcAttr option