streamlined teleport code

fixed bug with FoR

Signed-off-by: StevenRS11 <stevenrs11@aol.com>