new; babar shell files
fix bug: expanding once is not always enough
fix bug: require correct function