Completely rewritten scripts