Aurora Sun Changes

This is the change that Oren Hurvitz did for Opensim. Checked and seems to be working in Aurora as well