Unbroke the version require call
Added upgrade rake task to local deploy
Better rake upgrade task