Update checkmount.lua

Updated to the new functions.