Added apply-script