Added creation of theme directory if it does not exist when copying to C...

...DN.