make the portals listen to commands