updated spacing and url paremeter appending