changed so logging appears before action bin/connect