create script manager class