added chmod to helper