added -p option to provide a download password