duo fixes script