dependency script for --cli (Issue #156)