Putting path for prod lib and fixinf ref to resource id