added support for userdata/profiles folder