added bin configuring by batch