return a value and exit the script