updated sample script
corrected wx sample scripts