Fixed some minor bugs and fine-tuned uscauv_scripts.