updated sample scripts