Add automatic dependecy generation