added some rackconnect logic
changes to test template