updated control scripts