Ensuring that the modules directory is added