making some adjustments for script run here.