Good idea, but you changed script behaviour a little (see below)