Changed chmod to 744 to avoid some errors