Hardmode + vm management function updates