Added option -p to first mkdir if directory is already created dont show error