Make it possible to use switchns as a library

Can you fix this typo? exexin -> execin