Updated previous code and added new scanning modes