Changed Build script, added 1arg-mode