Created some missing directories and fixed a variable name.