Added directory entry and hooked it in a bit