fix mkfs process and add comments
correct paths
correct reference variables