Customize this script for my own use.