adding script for initing a bd and user