Move $KEY variable addition