added userdata configuration
also file check
commit mistake, now merged