added support for saving settings in the user data folder