Updated script to include conditional statement.