Bugfixes

Getting the parameter saving to work