Reduced character count if imports are not included. Also switched from re.split to just the string split command