added command "upgrade" to init scripts