Added speed variables for screenshot mode