Added some controls on bundles and dependencies files