add upgrade command
add startup script