make sure to exit 0 when everything is fine