wrap strings with quotes, change list to array, selector to string