Initial checkin of bismark main script