Add checks for loaded/unloaded profiles in commands