problem with signature

an empty sig property was append on the url. 

in $url signature was already included. I tested the script on version 0.8