added automatic directory creation