Changed variable name for state directory.