Added some logic to find out if you have RAILS3 or 2 and then ask to upgrade if 2