Made script loading work with SSL.