Adds return value to the script