create required directories