add chain loader