Moved session start to after config files