Enforce dependencies

Added code to enforce install order & dependencies