changed bundle to output the import statements in the order that they're found