move prefixes in resources and init them on first run