added string res, dyn path to sdcard (Andr)