Added directory creation