Change logic variables