Updated Sample Scripts to most recent updates

Sample Scripts needed small modifications