remove unused $priority variable
incorrect reference to wget resource