Changed 'directory_path' to 'directory'.