samples and script