Moved selectors into function run on load