Adding handler for starting custom programs.