add scripts-dir arg