allow omitting of uname and pw; also move process functions, more...