adds static or dynamic choice for wifi setup, fixes #2