Install and Upgrade RTL Compat

Added right to left support on both the install and upgrade scripts. Fixed an undefined error and a stray indentation difference. Pretty short and sweet.

Signed Off: Matthew P. Kerle / Labradoodle-360 <creativewebdsign@gmail.com>