fix upcp script for fresh install