Handle the resource in a way that also works from a jar. Also, makes building a jar with full dependencies possible (to be tested)