Dependency scripts

resolves issue #1135 

@cosmoharrigan please review