Fixed wrong sqimap_run_command call. The $sid is added inside