Updated Scripts after bug fixing_04092014

Updated Scripts after bug fixing_04092014