changed Scripter constructor