Minor changes to Script command and efficiency boosts.