Added init script and corrected some Ring math.