pass cfg from environment, add cmd for net list