added some extra info and commented some ifs to be able to use both repo and local builds... this shall not be merged upstream