Adding priorities to commands.  Fixing and updating seen module