Updated redhorizon lib