Modify script to allow creation of directories
fake keys