new version, adds some debugging, adds back the package action which we can use later once umbraco is fixed.