Changed all create commands to create directory when it does not exist.