Needs to be updated to style the attributes the variables set, instead of setting the variables directly.