removed hardcoded sub path. now 'only' the application path is hardcoded in a #define