Small bugfixes
local scan implemented
Simple version of send