first add script reader class