Created Directory
Updated the original code to work with 0.19.1