modifying the ubild script to be called as source file