removed local motion detect and switch image format to black and white