Added script for Problem 5b