add bootstrap script for CreditLog + minor change to make it works