Clarified use of scripts. Deleted old method