added smap related scripts

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>