Removed "auto" profile stuff since it's not being used, consolidated some selectors and changed a variable to be more descriptive.