added chmod to new directory of 777