create dirs before running script