revised figures script!