parse redis url correctly and make gittop run as a script