if else statements in script. added terinary for random match to favorite color.