Updated script to create folders if they'renot there