changed ending with new script