Added a way to override the main file of a dependency