how to operate al mining