made progress on scripting-- still bugs in laser control