(joe) adding urlencode and decode scripts