Fix Scripts location when copying dependencies