Adding manual mode to program