make the script not return 0 when failing