Change UID to ORIG_UID because bash defines UID.