Removing TailReader class and just making it part of the script