fixed reprepro script