fixed bug when not runnign with args and few enhancements
rename sw1 to dev1