Added extra argument so the result for the crafting amounts can be modified from the configuration file