updates for galaxy compatibility and events file script