Use the SessionCommand from the config instead of the one from cmake

Closes #263