Improved repos script

Signed-off-by: Vlad <vg@vladgh.com>