changes the var scope to usage in the logs