NOREF: Commenting out the packages create_resource line to see if that is the only problem