Puerto Rico has invested $8 million in an online educational program aimed at boosting public school curriculums in the U.S. territory.

Gov. Alejandro Garcia Padilla said Thursday that the program is available 24 hours a day and will be offered at 700 schools. He said federal grants helped fund the program.

Education officials have said the program aims to stimulate learning and crack down on the island's high level of desertion.

The announcement comes as a worsening economic crisis has forced Puerto Rico to close dozens of public schools amid an increase in people migrating to the U.S. mainland.