add migrate command to opencloud script