fixes metadata function

Also adds new properties to repos task and improves docs