appended the mkdir option to the making dir test