tuning SFA and scripts