New script

Added tail script.